Use Tuist manifest environment - #857
Merged
Merged
Conversation
Kyle-Ye
marked this pull request as ready for review
May 11, 2026 16:44
🤖 Augment PR SummarySummary: Updates OpenSwiftUI to rely on Tuist’s new 🤖 Was this summary useful? React with 👍 or 👎 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #857 +/- ##
==========================================
- Coverage 27.21% 27.19% -0.02%
==========================================
Files 673 673
Lines 44165 44165
==========================================
- Hits 12018 12011 -7
- Misses 32147 32154 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This updates OpenSwiftUI to use Tuist's new
manifestEnvironmentsupport fromtuist/tuist#10705instead of mirroring OpenSwiftUI environment variables with aTUIST_prefix.Tuist previously filtered manifest evaluation environments down to
TUIST_*,CI, and a small allowlist. That meanttuist generatecould not see the sameOPENSWIFTUI_*values that SwiftPM andtuist installcould see, so the project carried a local workaround: duplicatedTUIST_OPENSWIFTUI_*values inmise.tomlplus aTuist_OpenSwiftUIenv lookup domain inPackage.swift.Changes
4.192.0to4.193.0, the release that includesmanifestEnvironment.Tuist.swiftto forwardOPENSWIFTUI_*into manifest evaluation.TUIST_OPENSWIFTUI_*values frommise.toml.Tuist_OpenSwiftUIcompatibility domain fromPackage.swift.Verification
Verified locally in the prepared worktree with local dependencies present:
tuist versionreported4.193.0.tuist installandtuist generate --no-openboth succeeded. Generation still emits the existing static product side-effect warnings, but the project is generated successfully and the package manifest logs show the unprefixedOPENSWIFTUI_*values are visible without the oldTUIST_mirrors.